<!DOCTYPE html>

<html lang="zh-CN">



<head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

    <title>作业信息收集表单</title>

    <!-- Bootstrap -->

    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->

    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->

    <!--[if lt IE 9]>

      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>

      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>

    <![endif]-->

    <style>

    body {

        background-image: url(https://www.bing.com/az/hprichbg/rb/NCGSLShorelands_ZH-CN10992961198_1920x1080.jpg);

    }



    .sign-form {

        background-color: white;

        margin-top: 80px;

        padding: 40px 30px;

    }



    button {

        margin-top: 10px;

    }

    .display {

        margin-top: 20px;

    }

    </style>

</head>



<body>

    <div class="container">

        <div class="row">

            <div class="col-md-6 col-md-offset-3 sign-form">

                <?php echo validation_errors(); ?>

                <form action="<?php echo site_url('student/process') ?>" method="POST">

                    <div class="form-group">

                        <input type="text" class="form-control" id="username" name="username" placeholder="请输入您的姓名" autofocus="true" value="<?php echo set_value('username'); ?>">

                    </div>

                    <div class="form-group">

                        <input type="text" class="form-control" id="usernumber" name='usernumber' placeholder="请输入您的学号" required="true" value="<?php echo set_value('usernumber'); ?>">

                    </div>

                    <div class="form-group">

                        <input type="url" class="form-control" id="userurl" name='userurl' placeholder="请输入您的仓库地址" required="true" value="<?php echo set_value('userurl'); ?>">

                    </div>

                    <div class="radio-inline">

                        <label>

                            <input type="radio" name="userclass" id="userclass1" value="0"  <?php echo set_radio('userclass', '0'); ?>> 56节

                        </label>

                    </div>

                    <div class="radio-inline">

                        <label>

                            <input type="radio" name="userclass" id="userclass2" value="1" <?php echo set_radio('userclass', '1'); ?>> 78节

                        </label>

                    </div>

                    <div>

                        <button type="submit" class="btn btn-primary btn-block" id="submit">提交作业信息</button>

                    </div>

                    <p class="display"><a href="<?php echo site_url('student/viewAll') ?>">查看已提交作业信息</a></p>

                </form>

            </div>

        </div>

    </div>

    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->

    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>

    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->

    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>



</body>



</html>

